import $ from 'jquery';

export default function(url,data,f){
    $.ajax({
      type : "post",
      url:"https://ui11.hfjava.com/"+url,
      //url : "https://localhost/"+url,
      contentType : "application/json; charset=utf-8",
       data : JSON.stringify(data),
      //dataType : "json",
      success : f,
      error : function(message) {
        console.log(message);
      }
    });
}

